﻿using System.Runtime.Serialization;

namespace WcfPropertyService
{

    // 使用下面示例中说明的数据协定将复合类型添加到服务操作
    [DataContract]
    public class Book
    {
        [DataMember]
        public string BookNo { get; set; }
        [DataMember]
        public string BookName { get; set; }
        [DataMember]
        public decimal BookPrice { get; set; }
    }
}